package com.nuaa.qianru.dao;

import com.nuaa.qianru.model.AlarmInfo;
import com.nuaa.qianru.model.HealthParam;
import com.nuaa.qianru.model.Machine;
import com.nuaa.qianru.model.Tp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TpDao {
    List<Tp> selectTps();
    void insertMachine1(Machine machine);
    void insertMachine2(Machine machine);
    void insertMachine3(Machine machine);
    void insertMachine4(Machine machine);
    void insertAlarm1(AlarmInfo alarmInfo);
    void insertAlarm2(AlarmInfo alarmInfo);
    void insertAlarm3(AlarmInfo alarmInfo);
    void insertAlarm4(AlarmInfo alarmInfo);
    void insertHealth1(HealthParam healthParam);
    void insertHealth2(HealthParam healthParam);
    void insertHealth3(HealthParam healthParam);
    void insertHealth4(HealthParam healthParam);
    List<HealthParam> selectHealth1();
    List<HealthParam> selectHealth2();
    List<HealthParam> selectHealth3();
    List<HealthParam> selectHealth4();
    List<AlarmInfo> selectAlarm1();
    List<AlarmInfo> selectAlarm2();
    List<AlarmInfo> selectAlarm3();
    List<AlarmInfo> selectAlarm4();
}
